#ifndef __INPUTDEVICE_H
#define __INPUTDEVICE_H

#include <SDL/SDL.h>
#include <vector>
#include <algorithm>

#include "keyboard.h"
#include "mouse.h"


//This class manages the controls' list and the periferics' list.
//This class also updates, creates and deletes controls and periferics
class InputDevices
{
	public:
		InputDevices();
		~InputDevices();

		void update();
    bool isEventTriggered(const Event& event,Sint32& magnitude);

  protected:
		Keyboard kbd;
		Mouse mouse;
};

#endif
